package city.spring.modules.medicalstation.drugsettings.drugsettings.repository;

import city.spring.modules.medicalstation.drugsettings.drugsettings.entity.DrugsettingsEntity;
import city.spring.modules.medicalstation.drugsettings.drugsettings.vo.DrugsettingsVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 存储库：用药设置
 *
 * @author 谢金婷
 * @date 2020-10-15 09:52:06
 */
@Repository
public interface DrugsettingsRepository extends BaseMapper<DrugsettingsEntity> {
    IPage<DrugsettingsVO> listPage(Page<? extends DrugsettingsEntity> page, @Param(Constants.WRAPPER) Wrapper<? extends DrugsettingsEntity> wrapper);
}